package com.ruoyi.health.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 打卡信息对象 health_clock
 * 
 * @author rockvan
 * @date 2023-04-10
 */
public class HealthClock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 健康状况 */
    @Excel(name = "健康状况")
    private Integer healthType;

    /** 体温 */
    @Excel(name = "体温")
    private BigDecimal temperature;

    /** 中高风险 */
    @Excel(name = "中高风险")
    private Integer middleHigh;

    /** 接触确诊 */
    @Excel(name = "接触确诊")
    private Integer diagnosis;

    /** 境外返回 */
    @Excel(name = "境外返回")
    private Integer returnInfo;

    /** 打卡位置 */
    @Excel(name = "打卡位置")
    private String address;

    /** 住宅id */
    private Long deptId;

    /** 逻辑删除 */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setHealthType(Integer healthType) 
    {
        this.healthType = healthType;
    }

    public Integer getHealthType() 
    {
        return healthType;
    }
    public void setTemperature(BigDecimal temperature) 
    {
        this.temperature = temperature;
    }

    public BigDecimal getTemperature() 
    {
        return temperature;
    }
    public void setMiddleHigh(Integer middleHigh) 
    {
        this.middleHigh = middleHigh;
    }

    public Integer getMiddleHigh() 
    {
        return middleHigh;
    }
    public void setDiagnosis(Integer diagnosis) 
    {
        this.diagnosis = diagnosis;
    }

    public Integer getDiagnosis() 
    {
        return diagnosis;
    }
    public void setReturnInfo(Integer returnInfo) 
    {
        this.returnInfo = returnInfo;
    }

    public Integer getReturnInfo() 
    {
        return returnInfo;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("healthType", getHealthType())
            .append("temperature", getTemperature())
            .append("middleHigh", getMiddleHigh())
            .append("diagnosis", getDiagnosis())
            .append("returnInfo", getReturnInfo())
            .append("address", getAddress())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deptId", getDeptId())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
